home *** CD-ROM | disk | FTP | other *** search
- Path: mn5.swip.net!usenet
- From: roland.bengtsson@mbox3.swipnet.se (Roland Bengtsson)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Localisation
- Date: 28 Jan 1996 18:42:57 GMT
- Organization: -
- Message-ID: <1143.6601T709T2673@mbox3.swipnet.se>
- NNTP-Posting-Host: dialup101-102.swipnet.se
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- I took a look at the locale example at the NDK disk, but I winder if this really is the most effective way to go?
-
- They use a function GetString() that compare localeID with each member in the localelist,
- when it is needed. Of course it doesn't matter, but maybe in a big program with many strings
- on a 68000 without cache. I have never done localisation, but I have a project who need it.
-
- Is it possible to use:
-
- enum { MSG_HELLO, MSG_BYE, NUMSTRINGS };
-
- Then call the list with localestring[MSG_BYE] for example;
-
- I would appreciate if someone could send a short example in email or here if this is possible.
-
- If the NDK disk is the best way, please explain why!
-
- --
- \|/
- Thor 2.22 @ @
- +--------------------------oOO-(_)-OOo----------+
- | _ // | |
- | \X/ |Falkenberg, Westcoast of Sweden |
- |A3000/10MB | |
- |280HD/28.8 |Please write where YOU live! |
- |GVP Spectrum| |
- |AFS Pro |Amiga-Programmer in C |
- +------------+----------------------------------+
-
- --
-
-